﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SolrSearchConfiguration"
    targetNamespace="Sherwood.Content.SearchServices"
    elementFormDefault="qualified"
    xmlns="Sherwood.Content.SearchServices"
    xmlns:mstns="Sherwood.Content.SearchServices"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:element name="solrSearchProfile" type="solrSearchProfile"/>

  <xs:complexType name="solrSearchProfile">
    <xs:sequence>
      <xs:element name="authentication">
        <xs:complexType>
          <xs:attribute name="type" use="required" type="xs:string"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="injector" type="injector" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="injector">
    <xs:attribute name="type" type="xs:string" use="required"/>
  </xs:complexType>
</xs:schema>